package cn.yunyichina.provider.clinic.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import cn.yunyichina.provider.clinic.entity.FuyinApply;
import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2016-10-11 10:43:59
*/
@Repository
@MyBatisRepository
public interface FuyinApplyDao extends BaseDao<cn.yunyichina.provider.clinic.entity.FuyinApply>{
    List<FuyinApply> selectByUserId(Map<String, Object> params);
    
    List<FuyinApply> selectUntreated(Map<String, Object> params);
    
    List<FuyinApply> selectTreated(Map<String, Object> params);
    
    Long selectUntreatedCount(Map<String, Object> params);
    
    Long selectTreatedCount(Map<String, Object> params);
    
    void updateByOrderNo(Map<String, Object> params);
    
    List<FuyinApply> selectException(Map<String, Object> params);
    
    Long selectExceptionCount(Map<String, Object> params);
}